import { pubRequire } from '@utils/public'

const baseUrl = '/statistics-integrals'

//积分大盘 根据时间范围查询总积分和总消费积分
export function getIntegralsList(params, callBack, errBack) {
  return pubRequire('get', `${baseUrl}/total`, params, callBack, errBack)
}

//积分大盘 根据时间范围查询用户每天签到情况
export function getSignInList(params, callBack, errBack) {
  return pubRequire('get', `${baseUrl}/everyday-signs`, params, callBack, errBack)
}

//积分大盘 根据时间范围查询用户每天任务完成情况
export function getTaskList(params, callBack, errBack) {
  return pubRequire('get', `${baseUrl}/everyday-tasks`, params, callBack, errBack)
}


